<?php /* Smarty version Smarty 3.1.4, created on 2011-12-05 16:41:57
         compiled from ".\templates\language\index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:61524edca6fd745c39-34766156%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3d8a2e0563e5b95f7872df48896f5155247b7564' => 
    array (
      0 => '.\\templates\\language\\index.tpl',
      1 => 1321260083,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '61524edca6fd745c39-34766156',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'title' => 0,
    'lang_arr' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty 3.1.4',
  'unifunc' => 'content_4edca6fd80f69',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4edca6fd80f69')) {function content_4edca6fd80f69($_smarty_tpl) {?><div id="page-heading">
	<h1><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</h1>
</div>
<div align="center">
	<table border="1" cellpadding="0" cellspacing="0" width="95%" id="product-table">
		<tr>
			<th width="28%" class="table-header-repeat">English</th>
			<th width="3%" class="table-header-repeat">&nbsp;</th>
			<th width="28%" class="table-header-repeat">සිංහළ</th>
			<th width="3%" class="table-header-repeat">&nbsp;</th>
			<th width="28%" class="table-header-repeat">தமிழ</th>	
			<th width="3%" class="table-header-repeat">&nbsp;</th>
		</tr>
		<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['name'] = 'sec1';
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['lang_arr']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total']);
?>
		<tr>
			<td><?php echo $_smarty_tpl->tpl_vars['lang_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['en_text'];?>
</td>
			<td><img src="images/icons/edit.gif" class="cursor" onclick="loadPage('language/editlang/<?php echo $_smarty_tpl->tpl_vars['lang_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['id'];?>
/en')" /></td>
			<td class="sinhala_large"><?php echo $_smarty_tpl->tpl_vars['lang_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['sin_text'];?>
</td>
			<td><img src="images/icons/edit.gif" class="cursor" onclick="loadPage('language/editlang/<?php echo $_smarty_tpl->tpl_vars['lang_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['id'];?>
/sin')" /></td>
			<td><?php echo $_smarty_tpl->tpl_vars['lang_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['tamil_text'];?>
</td>
			<td><img src="images/icons/edit.gif" class="cursor" onclick="loadPage('language/editlang/<?php echo $_smarty_tpl->tpl_vars['lang_arr']->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['id'];?>
/tamil')" /></td>
		</tr>
		<?php endfor; endif; ?>
	</table>	
</div><?php }} ?>